// import Cookies from 'js-cookie'

/* 使用localStorage存储token, 而不使用cookie */

const TokenKey = "vue_admin_template_token";

export function getToken() {
  return localStorage.getItem(TokenKey);
}

export function setToken(token) {
  localStorage.setItem(TokenKey, token);
}

export function removeToken() {
  localStorage.removeItem(TokenKey);
}
